﻿using Com.Enemy.EnemySystem.EnemyAI;
using Com.Enemy.EnemySystem.EnemyLifecycle;
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using UnityEngine.PlayerLoop;

public class BuffBase
{
    public string Name { get; }
    public bool HaveUI { get; set; } = false;
    public string Describe { get; set; } = "";
    public bool LimitTime_Is { get; set; } = false;
    public float limitTime_S { get; set; } = 10;

    public BuffType BType { get; }

    public BuffBase(string name, bool haveUI, string describe, bool limitTime_Is, float limitTime_S, BuffType bType)
    {
        Name = name;
        HaveUI = haveUI;
        Describe = describe;
        LimitTime_Is = limitTime_Is;
        this.limitTime_S = limitTime_S;
        BType = bType;
    }

    public virtual void Get_Second()
    {

    }

    protected virtual void OnStart()
    {

    }

    public virtual void OnEnd() { }
}
